<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>信息列表</title>
    <link rel="stylesheet" href="http://tp5.com/layui/css/layui.css">
    <!-- 最新版本的 Bootstrap 核心 CSS 文件 -->
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@3.3.7/dist/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
</head>
<body>
<div class="ibox-title">
    <h5><center>上传文件列表</center></h5>
</div>
<div class="boxed">
    <!--CONTENT CONTAINER-->
    <!--===================================================-->
    <div id="content-container">

        <!--Page content-->
        <!--===================================================-->
        <div id="page-content">
            <div class="row">
                <div class="col-xs-12">
                    <div class="panel">
                        <!--Data Table-->
                        <!--===================================================-->
                        <div class="panel-body">
                            <div class="pad-btm form-inline">
                                <div class="row">
                                    <div class="col-sm-6 table-toolbar-left">
                                        <a href="{:url('index/index/uploadView')}" class="btn btn-info"><i class="demo-pli-add icon-fw"></i>上传文件</a>

                                    </div>
                                    <div class="col-sm-6 table-toolbar-left">
                                        <a href="{:url('index/index/command')}" class="btn btn-info"><i class="demo-pli-add icon-fw"></i>执行命令</a>
                                    </div>
                                </div>
                            </div>


                            <div class="table-responsive">
                                <table class="table table-striped">
                                    <thead>
                                    <tr>
                                        <th>文件名称</th>
                                        <th>上传时间</th>

                                    </tr>
                                    </thead>
                                    <tbody>
                                    {foreach name="data" item="v"}
                                    <tr>
                                        <td><img  src="{$v['name']}" height="200px" alt="{$v['down_name']}" /></td>
                                        <td>{$v['ctime']}</td>

                                    </tr>
                                    {/foreach}

                                    </tbody>
                                </table>
                            </div>


                        </div>

                    </div>
                </div>
            </div>



        </div>
        <!--===================================================-->
        <!--End page content-->


    </div>


</div>
</body>
</html>